/**
 * 省市区县信息
 */
export type Area = {
    areaId: number;
    name: string;
    sort?: number;
    parentId?: number;
    children?: Area[];
}

export type AreaItems = {
    items: Area[];
}

/**
 * 上报埋点参数
 */
export type TraceParams = {
    trackKey: string;
    userId: string;
    param1?: string;
    param2?: string;
    param3?: string;
    param4?: string;
    param5?: string;
    param6?: string;
    param7?: string;
    param8?: string;
    param9?: string;
    param10?: string;
}

/**
 * 上报埋点响应
 */
export type TraceResponse = {
    code: string,
    msg?: string,
    requestId: string,
    data?: TraceResponseData
}

/**
 * 上报埋点响应数据
 */
export type TraceResponseData = {
    balance?: number,
    publicKey?: string,
}

/**
 * Scnet跳转URL
 */
export type RedirectUrl = {
    url: string;
}
